package com.youlian.cloud.core.request;
/**
 * 分页入参公共实体
 * @author liuhx
 * @create 2019/07/29 15:29
 * @email liuhx@elab-plus.com
 **/

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("分页入参公共实体")
public class PageRequestModel extends RequestCommonModel {
    @ApiModelProperty(
            name = "pageNo",
            value = "分页参数-当前页码",
            example = "1"
    )
    private int pageNo = 1;
    @ApiModelProperty(
            name = "pageSize",
            value = "分页参数-分页大小",
            example = "20"
    )
    private int pageSize = 20;

    public PageRequestModel() {
    }

    public int getPageNo() {
        return this.pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    public int getPageSize() {
        return this.pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
}
